/*******************************************************************/
/* @ All Rights Reserved Copyright (C) 2014 broada,Co.,Ltd.        */
/*                                                                 */
/*  NAME      = frstat_pkg.h                                       */
/*  NOTE      =                                                    */
/*  DATE      = 2015/01/26 by yaohl                                */
/*******************************************************************/
#ifndef __FRSTAT_PKG_H_
#define __FRSTAT_PKG_H_

#include <json-c/json.h>

int  frstat_pkg_init(void);
void frstat_pkg_destory(void);

void frstat_pkg_add_if_rcv(unsigned long ul_pkg_cnt);
void frstat_pkg_add_if_drop(unsigned long ul_pkg_cnt);
void frstat_pkg_add_pcap_rcv(unsigned long ul_pkg_cnt);
//void frstat_pkg_add_pcap_drop(unsigned long ul_pkg_cnt);
void frstat_pkg_add_frame_drop(unsigned long ul_pkg_cnt);

void frstat_pkg_add_frame_udp(unsigned long ul_pkg_cnt);
void frstat_pkg_add_frame_tcp(unsigned long ul_pkg_cnt);
void frstat_pkg_add_frame_syn(unsigned long ul_pkg_cnt);
void frstat_pkg_add_frame_fin(unsigned long ul_pkg_cnt);

void frstat_pkg_info(char *p_outinfo, unsigned int ui_size);
void frstat_pkg_count(void);
void frstat_pkg_count_json(json_object *p_st_json);

#endif
